package com.zxy.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 意向客户
 */
@Data
@TableName("customer_intention")
public class CustomerIntention {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    private Long clueId;


    private String subject; // 意向学科//


    private Integer courseId; // 意向课程//TODO


    private BigDecimal intentionAmount; // 意向金额//


    private String reasons; // 学习原因


    private String plan; // 职业计划


    private LocalDateTime planTime; // 计划时间


    private String otherIntention; // 其他意向


    private String careerPlan;

    private String learningTime;


    private String studyMode;


    private String createBy;

    @TableField(value = "create_time", fill = FieldFill.INSERT) // 插入时填充字段
    private LocalDateTime createTime;


    private String updateBy;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE) // 插入和更新时填充字段
    private LocalDateTime updateTime;
}